package com.sansan.qiangji.form.device;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class StackerEditForm {
    /**
     * 堆垛机编号
     * */
    @NotNull(message = "堆垛机编号不能为空")
    private Integer stackerId;
    /**
     * 堆垛机名称
     * */
    @NotEmpty(message = "堆垛机名称不能为空")
    private String stackerName;
    /**
     * 堆垛机IP地址
     * */
    @NotEmpty(message = "堆垛机IP地址不能为空")
    private String stackerIP;
    /**
     * 堆垛机端口号
     * */
    @NotNull(message = "堆垛机端口不能为空")
    private Integer stackerPort;
    /**
     * 堆垛机取货位
     * */
    @NotNull(message = "堆垛机取货位不能为空")
    private Integer stackerPickAddress;
    /**
     * 堆垛机取货列
     * */
    @NotNull(message = "堆垛机取货列不能为空")
    private Integer stackerPickWidth;
    /**
     * 堆垛机取货层
     * */
    @NotNull(message = "堆垛机取货行不能为空")
    private Integer stackerPickHeight;
}
